package com.hmall.search.service;


import com.hmall.feign.dto.PageDTO;
import com.hmall.search.pojo.Item;
import com.hmall.search.pojo.ItemDoc;
import com.hmall.search.pojo.RequestParams;

import java.util.List;
import java.util.Map;

public interface SearchService {
    List<String> getSuggestion(String key);

    PageDTO<ItemDoc> search(RequestParams params);

    Map<String, List<String>> getFilters(RequestParams params);
}
